package com.hspedu.service;

import com.hspedu.entity.Result;
import org.springframework.stereotype.Component;

@Component
public class MemberFeignFallbackService implements MemberOpenFeignService{

    @Override
    public Result getMemberById(Long id) {
        return Result.Error("500","被调用服务异常，启动熔断降级，防止请求线程堆积");
    }
}
